mixin primary-button(label, disabled)
    input.btn.btn-primary(type="submit", value=label, ng-disabled=disabled)
+primary-button("Log in", "loginDisabled()")